#include "Cat.h"

Cat::Cat(std::string name, std::string color, int legNum, std::string eyeType) 
    : Animal(name, color, legNum), eyeType(eyeType) {}

void Cat::setEyeType(std::string eyeType) {
    this->eyeType = eyeType;
}

std::string Cat::getEyeType() const {
    return eyeType;
}

void Cat::introduce() const {
    std::cout << "我是一只猫，名字叫" << getName() << "，毛色是" << getColor() << "，有" << getLegNum() << "条腿，猫眼类型是" << eyeType << "，我会喵喵喵叫。" << std::endl;
}